package model.db.table;

import java.sql.Date;

/**
 * Author: Raoux Etienne
 * Student login: jc218934
 * Student number: 12448190
 * email: etienne.raoux@my.jcu.edu.au
 * alt email: jc218934@gmail.com
 */
public class BiddingHistory
{
    private final String BidderID;
    private final Double bidderBidPrice;
    private final String BidderBidItem;
    private final Date BidderBidDate;
    private final String ItemImage;
    private final String ItemDescription;
    private final String ItemId;
    private final String BiddingHistory;
    private final String SellerID;
    private final Date dateStart;
    private final Date dateEnd;
    private final String itemLocation;

    public BiddingHistory(String BidderID, Double bidderBidPrice, String BidderBidItem,
            Date BidderBidDate, String ItemImage, String ItemDescription, String ItemId,
            String BiddingHistory, String SellerID, Date dateStart, Date dateEnd,
            String itemLocation)
    {
        this.BidderID = BidderID;
        this.bidderBidPrice = bidderBidPrice;
        this.BidderBidItem = BidderBidItem;
        this.BidderBidDate = BidderBidDate;
        this.ItemImage = ItemImage;
        this.ItemDescription = ItemDescription;
        this.ItemId = ItemId;
        this.BiddingHistory = BiddingHistory;
        this.SellerID = SellerID;
        this.dateStart = dateStart;
        this.dateEnd = dateEnd;
        this.itemLocation = itemLocation;
        
    }

//public static void loadBidHistoryFromDb()
//{
//    //todo get view bidderHistory
////    Create view  bidderHistory as
////  Select BidderID,bidderBidPrice, BidderBidItem, BidderBidDate, ItemImage, ItemDescription, ItemId, SellerID, Date(Start/End), Item Location
////  from bidderHistory
//}
}
